/**
 * Description:
 * Class Name:tryInstanceof
 * Date:2022/3/23 21:13
 *
 * @author LTisme
 * @version JAVA17
 */
package 疯狂Java讲义.第9章_泛型._9_2_深入泛型._9_2_3_并不存在泛型类;

public class tryInstanceOf {
    public static void main(String[] args) {
        java.util.Collection<String> cs = new java.util.ArrayList<>();
        if (cs instanceof java.util.ArrayList<String>){
            System.out.println("yes");
        }
    }
}
